home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEGA 010
/
GEGA010.iso
/
Interface
/
it.dig
/
scripts
/
DefineButton2_310
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2005-09-22
|
1KB
|
31 lines
on(release){
if(_root.descri.comando.text == "shellopen")
{
_root.descri.instalar_mc.gotoAndStop("Abrir");
getURL("FSCommand:" add this.comando.text,"%org%" + this.caminho.text);
}
else if(_root.descri.comando.text == "LINK")
{
_root.descri.instalar_mc.gotoAndStop("URL");
getURL(this.caminho.text,"");
}
else if(_root.descri.comando.text == "PDF")
{
_root.descri.instalar_mc.gotoAndStop("PDF");
getUrl("FSCommand:Browser.SetPos", "1,77");
getUrl("FSCommand:Browser.SetSize", "790,453");
getURL("FSCommand:Browser.SetURL",_level0.startdir + this.caminho.text);
fscommand("Browser.Open");
}
else if(_root.descri.comando.text == "EXECUTAR")
{
_root.descri.instalar_mc.gotoAndStop("EXECUTAR");
getURL("FSCommand:run.app","%org%" + this.caminho.text);
}
else
{
_root.descri.instalar_mc.gotoAndStop("INSTALAR");
getURL("FSCommand:" add this.comando.text,"%org%" + this.caminho.text);
}
}